all:
	make liblcm
	make clean

liblcm: lcm.cpp
	g++ -fPIC -c lcm.cpp 
	g++ -L/lib -L/usr/lib -lcrypto -lmysqlclient -shared -o liblcm.so lcm.o
	
install:
	cp liblcm.so /lib/	
	
clean:
	rm -rf *.o